package com.example.module_word.room.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class MyWord {
    @PrimaryKey(autoGenerate = true)
    public int id;
    public String kind;
    public String word;
    public String phonetic;
    public String desc;

    public MyWord(String kind, String word, String phonetic, String desc) {
        this.kind = kind;
        this.word = word;
        this.phonetic = phonetic;
        this.desc = desc;
    }
}
